package com.sevattal.service.leaves.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sevattal.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工权限表
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_empAuthority")
@ApiModel(value="EmpAuthority对象", description="员工权限表")
public class EmpAuthority extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "员工编号")
    @TableField("f_eId")
    private String fEid;

    @ApiModelProperty(value = "权限编号")
    @TableField("f_aId")
    private String fAid;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否禁用 1（true）已禁用，  0（false）未禁用")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
